host-interaction/service

pause service

rule:
  meta:
    name: pause service
    namespace: host-interaction/service
    authors:
      - "@mr-tz"
    scopes:
      static: function
      dynamic: thread
    att&ck:
      - Persistence::Create or Modify System Process::Windows Service [T1543.003]
    examples:
      - Practical Malware Analysis Lab 17-02.dll_:0x1000bccd
  features:
    - and:
      - optional:
        - match: get service handle
      - or:
        - basic block:
          - and:
            - number: 0x2 = SERVICE_CONTROL_PAUSE
            - or:
              - api: advapi32.ControlService
              - api: advapi32.ControlServiceEx
        - call:
          - and:
            - number: 0x2 = SERVICE_CONTROL_PAUSE
            - or:
              - api: advapi32.ControlService
              - api: advapi32.ControlServiceEx

last edited: 2023-11-24 10:35:03